/* eslint-disable import/order */
import Vue from 'vue';
import App from './App.vue';
import createRouter from './router';
import createStore from './store';
import 'normalize.css/normalize.css';

Vue.config.productionTip = true;


export default function createApp() {
  const store = createStore();
  const router = createRouter();
  const app = new Vue({
    router,
    store,
    render: h => h(App),
  });
  return { app, router, store };
}
